package com.zmn.plat.common.dto.product.tariff.item;

import com.zmn.plat.common.dto.product.tariff.base.BaseTariffProductDIO;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Positive;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * @author tanbiao
 * @description:后台产品二级分类不清楚
 * @since 2020/3/27 17:41
 * @modifier
 **/
@Data
@ToString(callSuper = true)
public class TariffProductItemUnknowCategoryDIO extends BaseTariffProductDIO {
    private static final long serialVersionUID = -6333656654477731018L;

    /**
     * 故障项ID集合
     */
    @NotEmpty(message = "itemIds参数不能为空且个数不能超过100")
    @Size(min = 1, max = 100, message = "itemIds参数不能为空且个数不能超过100")
    private List<Integer> itemIds;

    /**
     * 品牌Id
     */
    @Positive(message = "brandId必须为大于0正整数")
    private Integer brandId;

}
